Get Element Area
Command Prototype
objRect = UiElement.GetRect(objUiElement,sRelative,optionArgs)
Command Description
Get the area of an element and return a rectangle object containing the element's position
Parameter Description
- Required Parameter
- objUiElement--Feature string of elements
- sRelative--The coordinate that the returned element's position is relative to
- Optional Parameter
- bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values (True, False). The default is False
- iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
- iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds
- return
- objRect--The variable used to save the output of the function call